package pojo;

import java.util.Date;

public class Answer {
	private int aid;
	private int qid;
	private int userid;
	private String userName;
	private String userIma;
	private String motto;
	private String aContent;
	private int aLoveNum;
	private int aForkNum;
	private int aReportNum;
	private int aCommentNum;
	private Date aTime;
	
	public Answer() {
		super();
	}

	public Answer(int aid, int qid, int userid, String userName, String userIma, String motto, String aContent,
			int aLoveNum, int aForkNum, int aReportNum, int aCommentNum, Date aTime) {
		super();
		this.aid = aid;
		this.qid = qid;
		this.userid = userid;
		this.userName = userName;
		this.userIma = userIma;
		this.motto = motto;
		this.aContent = aContent;
		this.aLoveNum = aLoveNum;
		this.aForkNum = aForkNum;
		this.aReportNum = aReportNum;
		this.aCommentNum = aCommentNum;
		this.aTime = aTime;
	}
	
	public Answer(int aid, int qid, int userid, String aContent,
			int aLoveNum, int aForkNum, int aReportNum, int aCommentNum, Date aTime) {
		super();
		this.aid = aid;
		this.qid = qid;
		this.aContent = aContent;
		this.aLoveNum = aLoveNum;
		this.aForkNum = aForkNum;
		this.aReportNum = aReportNum;
		this.aCommentNum = aCommentNum;
		this.aTime = aTime;
	}


	/**
	 * @return the aid
	 */
	public int getAid() {
		return aid;
	}

	/**
	 * @param aid the aid to set
	 */
	public void setAid(int aid) {
		this.aid = aid;
	}

	/**
	 * @return the qid
	 */
	public int getQid() {
		return qid;
	}

	/**
	 * @param qid the qid to set
	 */
	public void setQid(int qid) {
		this.qid = qid;
	}

	/**
	 * @return the userid
	 */
	public int getUserid() {
		return userid;
	}

	/**
	 * @param userid the userid to set
	 */
	public void setUserid(int userid) {
		this.userid = userid;
	}

	/**
	 * @return the userName
	 */
	public String getUserName() {
		return userName;
	}

	/**
	 * @param userName the userName to set
	 */
	public void setUserName(String userName) {
		this.userName = userName;
	}

	/**
	 * @return the userIma
	 */
	public String getUserIma() {
		return userIma;
	}

	/**
	 * @param userIma the userIma to set
	 */
	public void setUserIma(String userIma) {
		this.userIma = userIma;
	}

	/**
	 * @return the motto
	 */
	public String getMotto() {
		return motto;
	}

	/**
	 * @param motto the motto to set
	 */
	public void setMotto(String motto) {
		this.motto = motto;
	}

	/**
	 * @return the aContent
	 */
	public String getaContent() {
		return aContent;
	}

	/**
	 * @param aContent the aContent to set
	 */
	public void setaContent(String aContent) {
		this.aContent = aContent;
	}

	/**
	 * @return the aLoveNum
	 */
	public int getaLoveNum() {
		return aLoveNum;
	}

	/**
	 * @param aLoveNum the aLoveNum to set
	 */
	public void setaLoveNum(int aLoveNum) {
		this.aLoveNum = aLoveNum;
	}

	/**
	 * @return the aForkNum
	 */
	public int getaForkNum() {
		return aForkNum;
	}

	/**
	 * @param aForkNum the aForkNum to set
	 */
	public void setaForkNum(int aForkNum) {
		this.aForkNum = aForkNum;
	}

	/**
	 * @return the aReportNum
	 */
	public int getaReportNum() {
		return aReportNum;
	}

	/**
	 * @param aReportNum the aReportNum to set
	 */
	public void setaReportNum(int aReportNum) {
		this.aReportNum = aReportNum;
	}

	/**
	 * @return the aCommentNum
	 */
	public int getaCommentNum() {
		return aCommentNum;
	}

	/**
	 * @param aCommentNum the aCommentNum to set
	 */
	public void setaCommentNum(int aCommentNum) {
		this.aCommentNum = aCommentNum;
	}

	/**
	 * @return the aTime
	 */
	public Date getaTime() {
		return aTime;
	}

	/**
	 * @param aTime the aTime to set
	 */
	public void setaTime(Date aTime) {
		this.aTime = aTime;
	}

	
}
